# $Id: PKGBUILD 66388 2012-02-24 12:26:59Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: noonov <noonov@gmail.com>

pkgname=zshdb
pkgver=0.08
pkgrel=2
pkgdesc='A debugger for zsh scripts.'
arch=('any')
url='http://bashdb.sourceforge.net/'
license=('GPL')
depends=('zsh')
optdepends=('python-pygments: for syntax highlighting')
source=("http://downloads.sourceforge.net/sourceforge/bashdb/${pkgname}-${pkgver}.tar.gz")
md5sums=('f43c2a4bd7683b0977d35aae86bdc55d')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
